package com.zs.lib_base.ext

/**
 * descrition:
 */
fun showForwardText(content:String):String{
    if(content.substring(0,1) == "@"){
        val startN = content.indexOf(" ")

        val atName = content.substring(0,startN)
        val subString = content.substring(startN,content.length)
        var name = "<font color=\"#2C41FF\">${atName} </font>"
        return name+subString
    }
    return content

}